Skip to content

Fixes #326 Add option to disable fallback to PureJavaSnappy + doc#333

Closed
lehnerj wants to merge 1 commit into
xerial:masterfrom
lehnerj:fix-326-simple-add_option_and_doc_to_disable_fallback_to_pure-java
Closed

Fixes #326 Add option to disable fallback to PureJavaSnappy + doc#333
lehnerj wants to merge 1 commit into
xerial:masterfrom
lehnerj:fix-326-simple-add_option_and_doc_to_disable_fallback_to_pure-java

Conversation

@lehnerj

@lehnerj lehnerj commented Jul 5, 2022

Copy link
Copy Markdown
Contributor

Adds a simple if condition to disable the fallback to PureJavaSnappy and re-throws the exception if the system property org.xerial.snappy.purejava.fallback is set to false (default value is true to ensure backwards compatibility).

@lehnerj

lehnerj commented Jul 5, 2022

Copy link
Copy Markdown
Contributor Author

@xerial Simplified solution of #327 (no new dependency in build.sbt, no JUnit test, no access modifier change SnappyLoader#loadNativeLibrary, just a simple if + doc).

@lehnerj

lehnerj commented Aug 13, 2022

Copy link
Copy Markdown
Contributor Author

@xerial Any chance to get this merged :) ?

@lehnerj

lehnerj commented Sep 6, 2022

Copy link
Copy Markdown
Contributor Author

@xerial What are your thoughts on this PR?

@xerial

xerial commented Sep 17, 2022

Copy link
Copy Markdown
Owner

As discussed in another ticket, I think it should be better to remove the pure-java option entirely. Let me take a look later.

@xerial

xerial commented Jan 28, 2023

Copy link
Copy Markdown
Owner

Removing pure-java snappy support in #381

@xerial xerial closed this Jan 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants